package com.woniuxy.store.client.param;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class AddPackFunParam {
    /**
     * 套餐ID
     */
    @NotNull
    @Min(1)
    private Integer packageId;

    /**
     * 功能ID
     */
    @NotNull
    @Min(1)
    private Integer functionId;

    /**
     * 总费用
     */
    @NotNull
    @Min(0)
    private BigDecimal fee;
}
